package br.com.fogas.medicao.activity;

import br.com.fogas.medicao.R;
import br.com.fogas.medicao.activity.helper.PlanoLocalHelper;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

public class PlanoLocalFragment extends Fragment {
	
	private PlanoLocalHelper helper;
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
	}
	
	@Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,  Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.plano_local, container, false);
        return view;
    }
	
	@Override
	public void onViewCreated(View view, Bundle savedInstanceState) {
		super.onViewCreated(view, savedInstanceState);
		this.helper = new PlanoLocalHelper(this);
	}
	
	@Override
	public void onResume() {
		super.onResume();
	}
	
	@Override
	public void onDestroyView() {
		super.onDestroyView();
		helper.onDestroy();
	}
	
	public PlanoLocalHelper getHelper() {
		return helper;
	}
}